import request from '@/utils/request'

// 商家入驻记录列表
export function selectAllZkwlBusinessType(query) {
    return request({
      url: '/PC/ZkwlBusinessTypePC/selectAllZkwlBusinessType',
      method: 'get',
      params: query
    })
  }
//   商家入驻记录操作
export function updateZkwlBusinessType(data) {
    return request({
      url: '/PC/ZkwlBusinessTypePC/updateZkwlBusinessType',
      method: 'post',
      data: data
    })
  }

// 查看驳回原因
export function selectremark(data) {
  return request({
    url: '/PC/ZkwlBusinessTypePC/selectremark',
    method: 'post',
    data: data
  })
}
// 商户入住记录导出
export function selectDaochuruzhu(query) {
  return request({
    url: '/PC/ZkwlBusinessTypePC/selectDaochuruzhu',
    method: 'get',
    params: query
  })
}

//获取当前商家入驻信息
export function getThisShopMessage(id) {
  return request({
    url: `/PC/ZkwlBusinessTypePC/getThisShopMessage/${id}`,
    method: 'get',
  })
}
